package cn.ad.entity;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.math.BigDecimal;

@Alias("accountCampaignRecords")
public class AccountCampaignRecords extends PO implements Serializable {
	/**
	 *对应advertiser.id
	 */
	private int advertiserId;
	/**
	 *对应campaign.id
	 */
	private int campaignId;
	/**
	 *交易类型 1 创建订单 2 订单回款
	 */
	private int dealType;
	/**
	 *操作者用户标识，对应db_admin.tb_users.id
	 */
	private int creator;
	/**
	 *交易金额
	 */
	private BigDecimal amount;

	/**
	 *备注信息
	 */
	private String description;

	/**
	 * 创建时间
	 */
	private String createTime;

	public int getAdvertiserId() {
		return advertiserId;
	}

	public void setAdvertiserId(int advertiserId) {
		this.advertiserId = advertiserId;
	}

	public int getCampaignId() {
		return campaignId;
	}

	public void setCampaignId(int campaignId) {
		this.campaignId = campaignId;
	}

	public int getDealType() {
		return dealType;
	}

	public void setDealType(int dealType) {
		this.dealType = dealType;
	}

	public int getCreator() {
		return creator;
	}

	public void setCreator(int creator) {
		this.creator = creator;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
}
